package com.springboot.mongodb.dao;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.springboot.mongodb.entity.Account;

public interface AccountRepository extends MongoRepository<Account, String> {
	public Account getById(String id);
	public List<Account> findByName(String name);
}
